<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>修改网点信息</title>
	</head>
	<body>
		
		<div><h1>修改网点信息</h1></div>
		 <c:forEach items="${Branches1}" var="a">
		<form  action="Serviet_1?a=xg&c=${a.id }" method="post">
      			网点名称：<input type="text" value="${a.name}" name="xg_name" required="required">
      			<br>所在地区：<select name="xg_ip">
      				<option value="${a.getCityArea().id }">${a.getCityArea().name }</option>
      						 <c:forEach items="${Branches2}" var="b">
      				<option value="${b.id }">${b.name }</option>	
      				</c:forEach>
      				
      			</select>
      			<br>网点地址：<input type="text" value="${a.address}" name="xg_ips"  required="required">
      			<br>联系电话：<input type="text" value="${a.telephone }" name="xg_ph"  required="required">
      			<br><input type="submit" value="提交">
      			<input type="reset" value="重置"/>
      			<input type="button" value="取消" />
		</form>
		</c:forEach>
	</body>
</html>
